export default {
  'SOLID_PHONE_FULL': /^(((\d{3,4}-)?\d{7,8})|(1[3-9]\d{9}))$/,
  // eslint-disable-next-line
  'SOLID_PHONE': /^(0\d{2,3})?-?\d{7,8}$/,
  'PHONE_NUMBER': /^1[3-9]\d{9}$/,
  'IDENTITY_CARD': /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9X]$/i,
  'EMAIL': /^([\w\-.])+@([\w\-.])+\.([A-Z]{2,4})$/i,
  // eslint-disable-next-line
  'URL': /^((https?|ftp|file):\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w.-]*)*$/,
  'YYYY-MM-DD': /^\d{4}(-)\d{1,2}\1\d{1,2}$/,
  'YYYY_MM_DD': /^\d{4}(-)\d{1,2}\1\d{1,2}$/,
  'SOCIAL_CREDIT_CODE': /^[0-9A-HJ-NPQRTUWXY]{2}\d{6}[0-9A-HJ-NPQRTUWXY]{10}$/,
  'CORPORATE_CODE': /^\d{18}$/,
  'ZIP_CODE': /^[1-9]\d{5}$/,
  // 不少于两个汉字
  'CHINESE': /^[\u4E00-\u9FA5]{2,}$/,
  // 经纬度 格式：116.397499,39.909806
  'LNGLAT': /^(\d+\.\d+),(\d+\.\d+)$/,
}
